package com.bjc.principle.visitor;

/**
 * @program: DesignPattern
 * @description: 创建扩展了上述类的实体类
 * @author: bjc
 * @create: 2021-01-04 18:35
 */
public class Monitor implements ComputerPart{
    @Override
    public void accept(ComputerPartVisitor computerPartVisitor) {
        computerPartVisitor.visit(this);
    }
}
